package com.caiyouxi.pay.model;

import com.fasterxml.jackson.annotation.JsonInclude;

import java.io.Serializable;

/**
 * 产品支付信息
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class PaymentConfigBean extends PaymentBean implements Serializable {
    private Integer id; //产品支付ID
    private Integer pay_id;//支付表中的ID
    private String target_type;//产品类型，SDK,应用，游戏，品类等
    private String target_id;//对应产品类型中的ID值

    private String order_id;
    private String product_line_code;
    private String app_id;
    private String user_fee_config;//对应payment_config表中的手续费，以上为准，没有在使用下面的
    private String user_fee_gateway;

    private String unit;//显示支付的单位
    private String balance;//显示账户逾额
    private String status;//账户状态
    private Integer user_id;
    private Integer amount;//金额

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public String getUser_fee_config() {
        return user_fee_config;
    }

    public void setUser_fee_config(String user_fee_config) {
        this.user_fee_config = user_fee_config;
    }

    public String getUser_fee_gateway() {
        return user_fee_gateway;
    }

    public void setUser_fee_gateway(String user_fee_gateway) {
        this.user_fee_gateway = user_fee_gateway;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public Integer getPay_id() {
        return pay_id;
    }

    public void setProduct_line_code(String product_line_code) {
        this.product_line_code = product_line_code;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    @Override
    public String getStatus() {
        return status;
    }

    @Override
    public void setStatus(String status) {
        this.status = status;
    }

    public String getBalance() {
        return balance;
    }

    public void setBalance(String balance) {
        this.balance = balance;
    }

    public String getProduct_line_code() {
        return product_line_code;
    }


    public String getApp_id() {
        return app_id;
    }

    public void setApp_id(String app_id) {
        this.app_id = app_id;
    }

    public void setTarget_id(String target_id) {
        this.target_id = target_id;
    }

    public String getOrder_id() {
        return order_id;
    }

    public void setOrder_id(String order_id) {
        this.order_id = order_id;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }


    public void setPay_id(Integer pay_id) {
        this.pay_id = pay_id;
    }

    public String getTarget_type() {
        return target_type;
    }

    public void setTarget_type(String target_type) {
        this.target_type = target_type;
    }

    public String getTarget_id() {
        return target_id;
    }

}
